<table border="1" cellpadding="3" cellspacing="0" bordercolor="#000000" style="border-collapse: collapse; table-layout:fixed;word-wrap:break-word;" width="100%" class="table_common">
    <tr>
        <th>地区</th>
        <th>小区</th>
        <th>专营店</th>
        <th>所在城市</th>
        <th>流水号</th>
        <th>车展级别</th>
        <th>开始时间</th>
        <th>结束时间</th>
        <th>订单目标</th>
        <th>留资目标</th>
        <th>订单实际达成</th>
        <th>留资实际达成</th>
        <th>订单目标达成率</th>
        <th>留资目标达成率</th>
        <th>车展结算资料上传</th>
        <th>预算申请费用</th>
        <th>预算审核费用</th>
        <th>预算区域审核情况</th>
        <th>申请结算费用</th>
        <th>结算审核费用</th>
        <th>结算区域审核情况</th>
        <th>结算总部审核情况</th>
        <th>备注</th>
   </tr>
   <?php
    foreach($projectList as $v){
        $storeData = isset($allStoreList[$v['storeId']]) ? $allStoreList[$v['storeId']] : array();
    ?>
   <tr>
        <td><?=$storeData['area'];?></td>
        <td><?=$storeData['spsarea'];?></td>
        <td><?=$storeData['storeName'];?></td>
        <td><?=$storeData['city'];?></td>
        <td><?=$v['id']?></td>
        <td><?=$v['levelIdStr']?></td>
        <td><?=$v['startTime']?></td>
        <td><?=$v['endTime']?></td>
        <td><?=$v['orderTarget']?></td>
        <td><?=$v['capitalTarget']?></td>
        <td><?=$v['orderActual']?></td>
        <td><?=$v['capitalActual']?></td>
        <td><?php echo (float)$v['orderReachRate'] ? $v['orderReachRate'] : 0 ?>%</td>
        <td><?php echo (float)$v['capitalReachRate'] ? $v['capitalReachRate'] : 0 ?>%</td>
        <td>
            <?php if ($v['settleVoucher']): ?>
                <a href="<?php echo 'http://'.$_SERVER['SERVER_NAME'].$v['settleVoucher']['viewPath'];?>" target="_blank">下载</a><br>
            <?php endif ?>
        </td>
        <td><?=$v['budgetApply']?></td>
        <td><?=$v['budgetAudit']?></td>
        <td><?=$v['budgetAuditStr']?></td>
        <td><?=$v['settleApply']?></td>
        <td><?=$v['settleAudit']?></td>
        <td><?=$v['settleAuditAreaStr']?></td>
        <td><?=$v['settleAuditHeadStr']?></td>
        <td><?=$v['remarks']?></td>
    </tr>
    <?php }?>
</table>